=== Ad Inserter - WordPress Ads Management with AdSense Header Integration === Contributors: spacetime Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LHGZEMRTR7WB4 Tags: ads, adsense, header footer code, ad management, sticky fixed widgets, advanced geo targeting ads, amp adverts ad rotation, advertising manager, amazon banners ad injection, ad blocking detection, PHP Javascript HTML insertion, custom fields posts Requires at least: 4.0 Tested up to: 4.9 Requires PHP: 5.3 Stable tag: 2.3.6 License: GPLv3 Insert and manage ads: AdSense, Amazon, banners, ad rotation, sticky ad widgets, shortcodes, AMP, PHP, HTML, CSS, form, tracking, header, footer code == Description == Ad management plugin with many advanced advertising features. Supports all kinds of WordPress ads including **Google AdSense**, contextual **Amazon Native Shopping Ads, Media.net** and **rotating banners.** Ad Inserter is more than just ad manager plugin. It provides many advanced options to insert any opt-in form, Javascript, CSS, HTML, PHP, analytics, tracking or advert code anywhere on the page. **Ad Inserter can insert ads where other plugins fail**. It's all about the settings. **Endorsed by WordPress users** Average Rating: 5 out of 5 stars > Perfect plugin to insert anything anywhere on your WordPress website Check Ad Inserter reviews **Endorsed by Google** Google lists Ad Inserter plugin as possible solution to place AdSense ad code into your WordPress site. > If you're new to AdSense, one of your first tasks is to connect your site to AdSense. This requires you to copy the code on your AdSense homepage and paste it into the HTML of your page, between the `` and `` tags. Check [How to insert ad code in your WordPress site](https://support.google.com/adsense/answer/7527509). Advanced users can enable [AdSense integration](https://adinserter.pro/adsense-ads#integration): get AdSense ad codes from the plugin settings page - no need to copy ad codes from the AdSense admin pages and paste them to code blocks. List ad units, preview AdSense ads and get ad codes where you need them. **Endorsed by Amazon** Amazon suggests to use Ad Inserter to add Native Shopping Ads to Wordpress posts. > Native Shopping Ads provide highly relevant and dynamic product recommendations in a stylishly designed and responsive ad unit that can be placed at the end of your content or within your content to create a more compelling visitor experience and shopping opportunity. Check Wordpress Integration Guide for Native Shopping Ads. Ad Inserter supports also advanced contextual ads: check settings for contextual Native Shopping Ads that show items related to the post content (using post tags). **Features** * 16 code (ad) blocks * [AdSense](https://adinserter.pro/adsense-ads) integration * Syntax highlighting [editor](https://adinserter.pro/code-editing) * Code preview with visual CSS editor * Automatically inserts ads on posts and pages * Insert before or after post * Insert before or after content * Insert before or after paragraph * Insert before or after random paragraph * Insert before or after multiple paragraphs * Insert before or after comments * Insert before or after excerpt * Insert before or after any HTML element on page * Insert above header (after `` tag) * Insert in footer (before `` tag) * Insert at relative positions in posts * Insert between posts on blog pages (in-feed AdSense ads) * Insert between excerpts on blog pages * Insert between comments * Insert at custom hook positions (`do_action ()` WP function) * Clearance options to avoid insertion near images or headers * Insertion exceptions for posts and pages * Insert header (`` section) and footer code * Insert raw HTTP response header lines * Insert Google Analytics, Piwik or any other web analytics code * Insert HTML, CSS, Javascript or PHP code * Code generator for banners and placeholders * Visual advert editor * Manual insertion: widgets, shortcodes, PHP function call * Sticky (fixed) widgets (sticky sidebar - the sidebar does not move when the page is scrolled) * Custom block alignments and styles * Insert ads (different ad code) on AMP pages * Custom CSS class name for wrapping divs to avoid ad blockers * Use shortcodes from other plugins * Use custom fields as defined in posts * Use post title, tags or categories to create contextual ads * PHP code processing * Ad rotation (server-side and client-side - works with caching) * Ad blocking detection - popup message, page redirection * Desktop/mobile device detection (server-side and client-side - works with caching) * [Black/White-list](https://adinserter.pro/lists) categories, tags, taxonomies, post IDs, urls, url query parameters, cookies, referers * Easy copying and pasting code blocks or settings using internal clipboard * Simple troubleshooting with many debugging functions * Function to visualize inserted code blocks * Function to visualize available insertion positions * Function to visualize HTML tags And Ad Inserter Pro - all-in-one WordPress ad management plugin has even more advanced features: * 64 code (ad) blocks * Geolocation using Webnet77 or MaxMind databases (works also with caching) * Black/White-list IP addresses or countries (works also with caching) * Ad impression and click tracking (works also with `